package com.mike.employment.base;

import java.util.List;

public interface BaseService<T> {
	public PageResult getPage(PageRequest req);
	public T add(T t);
	public  void delete(Long id);
	public  int delete(Long ...id);
	public  T update(T t);
	public  T findById(Long id);
	public  List<T> find(Long ...id);
	public  T saveOrUpdate(T t);
	public  List<T> findAll();
}
